package cn.jbit.test.io.nio.server;
import java.io.IOException;

/**
 * 源码学院只为培养优秀的bat程序员而生
 *
 * @author 学员张在成
 * @data 2020/8/10
 * java NIO服务器端
 */
public class NioServer {

    public static void main(String[] args) throws IOException {
        int  port=8080;

        MultiNioServerHandler  serverHandler=new MultiNioServerHandler(port);

        new Thread(serverHandler,"nioserver-001").start();

    }
}
